package com.ruoyi.userSystem.mapper;


import com.ruoyi.userSystem.domain.Role;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RoleMapper {
    int insert(Role row);

    int insertSelective(Role row);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role row);

    int updateByPrimaryKey(Role row);

    Role selectByName(String name);

    Role selectByUserId(Long userId);
}